package cn.ittaoli.ajax.service;

import cn.ittaoli.ajax.model.Slide;
import cn.ittaoli.ajax.utils.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by lub_lenovo on 2017/8/8.
 */
public interface SlideService {

    List<Slide> getAll();

    int inserSlide(Slide slide);


    PageInfo<Slide> getByPage(Integer pageNum, Integer numPerPage);
}
